package dao;

import java.util.ArrayList;

import dao.pojo.Files;
import dao.pojo.Users;

/**
 * Created by IntelliJ IDEA.
 * User: winstars
 * Date: 2007-3-1
 * Time: 22:51:25
 * To change this template use File | Settings | File Templates.
 */
public interface FilesDao {
    public Files getFilesById(Files file);
    
    public ArrayList<Files> getAllFiles();
    
    public void saveFile(Files file);
    
    public void addFile(Files file);
    
    public void deleteFilesByUser(Users user);

    public void deleteFileById(Files file);
}
